﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Tradex;

namespace Tradex.Operations {
    
    /// <summary>
    /// Implements all methods for handling logging within the Tradex system.
    /// </summary>
    public interface ILoggingService {

        /// <summary>
        /// Submits a new LogEntry.
        /// </summary>
        /// <param name="logEntry"></param>
        void SubmitLogEntry(LogEntry logEntry);

        /// <summary>
        /// Event indicating a new LogEntry has been submitted.
        /// </summary>
        event EventHandler<LogEntryCreatedEventArgs> LogEntryCreated;

    }

}
